list box: Make focusable headers possible
authorMatthias Clasen <mclasen@redhat.com>
Sat, 22 Aug 2015 00:51:03 +0000 (20:51 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 22 Aug 2015 00:51:03 +0000 (20:51 -0400)
commit1d2ff9a069a3f1a8d2510dfcf7177420d2b076e3
tree61201c51098e0f297dfb07b66813ded258edea88
parentbff28ac6b00c3420e2b0304b84c1b253abcb9aa8
list box: Make focusable headers possible

Previously we were assuming that only list box rows could occur
as focus children of a list box, and would crash if that wasn't
the case. This commit handles this case, and integrates focusable
headers into directional keynav and the focus chain.

The typical case of using separators as headers is not affected
by this change.

https://bugzilla.gnome.org/show_bug.cgi?id=753694
gtk/gtklistbox.c